
#undef BOOST_TEST_DYN_LINK
#undef BOOST_TEST_MAIN
#undef BOOST_TEST_MODULE //TestModel2Cpp
#include <boost/test/unit_test.hpp>

#include <iostream>

#include "Universe/Atlantis/Base.hpp"

using namespace Universe_Atlantis;


BOOST_AUTO_TEST_SUITE( TestingBase )


BOOST_AUTO_TEST_CASE( testDirectOperations )
{
	Base base;
	BOOST_REQUIRE( base.plainBaseLeaf() == true );
	BOOST_REQUIRE( base.plainBase() == true );
	BOOST_REQUIRE( base.plainBaseQuery(37) == 37 );
	BOOST_REQUIRE( base.abstractOp() );
	BOOST_REQUIRE( Base::abstractOpStatic() );
	BOOST_REQUIRE( base.ifderPlainLeaf() == "ifderPlainLeaf_" );
	BOOST_REQUIRE( base.ifderPlain() );
	BOOST_REQUIRE( base.ifbasePlainQuery() > 0 );
	BOOST_REQUIRE( (base.ifbasePlain(), 1) );
	BOOST_REQUIRE( base.ifderPlainQuery() > 0.0 );
	BOOST_REQUIRE( (base.ifbasePlainLeaf(), 1) );
	BOOST_REQUIRE( (Base::ifbaseStatic(), 1) );
	BOOST_REQUIRE( (Base::ifderStatic(), 1) );
}


BOOST_AUTO_TEST_SUITE_END()
